package com.vanvalt.payhui.modules.pay.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.service.CrudService;
import com.vanvalt.core.utils.SvrUtils;
import com.vanvalt.payhui.modules.pay.dao.PosApplyDao;
import com.vanvalt.payhui.modules.pay.entity.PosApply;

/**
 * @author Xiaoyang
 *
 */
@Service
@Transactional(readOnly = true)
public class PosApplyService extends CrudService<PosApplyDao, PosApply> {

	@Autowired
	public PosApplyDao posApplyDao;
	
	@Transactional(readOnly = false)
	public void save(PosApply posApply) {
		
		SvrUtils.save(posApply, posApplyDao);
	}
}
